Distributed single sign on technologies including privacy protection and proactive updating

ABSTRACT

Technologies for distributed single sign-on operable to provide user access to a plurality of services via authentication to a single entity. The distributed single sign-on technologies provide a set of authentication servers and methods for privacy protection based on splitting secret keys and user profiles into secure shares and periodically updating shares among the authentication servers without affecting the underlying secrets. The correctness of the received partial token or partial profiles can be verified with non-interactive zero-knowledge proofs.

RELATED APPLICATION(S)

This Application is a Continuation of and claims benefit from orpriority of U.S. patent application Ser. No. 14/877,030 that was filedOct. 7, 2015, and that is a Continuation of U.S. patent application Ser.No. 13/408,875 (U.S. Pat. No. 9,160,528), filed Feb. 29, 2012 (IssuedOct. 13, 2015), and that is a Continuation of U.S. patent applicationSer. No. 12/276,428 (U.S. Pat. No. 8,151,333), filed Nov. 24, 2008(Issued Apr. 3, 2012), each of which is incorporated herein by referencein its entirety.

BACKGROUND

Conventional single sign on (“SSO”) technologies have been used toenable users to log into different service providers via a single signon. With such technologies, a user need only authenticate to a singleentity in order to obtain access to a plurality of associated serviceproviders or the like. Such is particularly helpful with the everincreasing number of web and other services requiring userauthentication that a user may wish to access. Various SSO technologiesare currently available including Kerberos and Microsoft's .NET Passportor Live ID. While Kerberos may be useful for a single domainenvironment, it is not considered suitable for use in untrustedenvironment such as the Internet. Technologies such as Live ID havegreatly increased the availability of single sign on services for theInternet, but security issues remain. For example, compromising a singleauthentication server would jeopardize the whole system since replicasof credentials and profiles tend to be stored in the compromised server.Various distributed SSO systems attempt to address these and relatedissues. In one example, a plurality of authentication servers may returnan encrypted partial ticket to a user that may be used to reconstruct acomplete ticket useful for service access. Other techniques for such“secret splitting” methods may alternatively be used. But active attackstend to not be considered in such schemes. That is, a compromisedauthentication server of a plurality of such servers may send outincorrect partial tickets or the like, resulting in incorrect ticketsand resultant denial of access. Several other problems also exist withconventional distributed SSO technologies.

SUMMARY

The following presents a simplified summary of the disclosure in orderto provide a basic understanding to the reader. This summary is not anextensive overview of the disclosure and it does not identifykey/critical elements of the invention or delineate the scope of theinvention. Its sole purpose is to present some concepts disclosed hereinin a simplified form as a prelude to the more detailed description thatis presented later.

The present examples provide for distributed single sign-on technologiesoperable to provide user access to a plurality of services viaauthentication to a single entity. The distributed single sign-ontechnologies provide a set of authentication servers and methods tosplit secret keys and user profiles into secure shares and toperiodically update the shares among the authentication servers withoutchanging the underlying secrets.

The foregoing summary is provided solely for the convenience of theExaminer. Accordingly, it should be appreciated that each of the claimsmay not be limited in the manner described in the summary above.Therefore, the Examiner is requested to not rely upon the summary abovefor determining whether each of the claims distinguishes over any priorart of record. Many of the attendant features of the claimed inventionwill be more readily appreciated as the same become better understood byreference to the following detailed description considered in connectionwith the accompanying drawings.

DESCRIPTION OF THE DRAWINGS

The present description will be better understood from the followingdetailed description considered in connection with the accompanyingdrawings, wherein:

FIG. 1 is a block diagram showing an example distributed SSO (“DSSO”)service or system A along with example user U and example serviceprovider S.

FIG. 2 is a block diagram showing an example method for setting up aDSSO system.

FIG. 3 is a block diagram showing an example method for setting up aservice provider S for operation with a DSSO system.

FIG. 4 is a block diagram showing an example method for setting up auser U for operation with a DSSO system.

FIG. 5 is a block diagram showing an example method for registering andauthenticating a user U to authentication servers in set A.

FIG. 6 is an example method showing the operation of an exampledistributed single sign-on protocol in which no user profile informationis sent to a service provider.

FIG. 7 is an example method 700 showing the operation of an exampledistributed single sign-on protocol in which user profile information issent to a service provider.

FIG. 8 is a block diagram showing an example method for updating sharesof secrets, such as secret key shares and user profile shares, withoutaffecting the underlying secrets.

FIG. 9 is a block diagram showing an example computing environment inwhich the technologies described herein may be implemented.

Like reference numerals are used to designate like parts in theaccompanying drawings.

DETAILED DESCRIPTION

The detailed description provided below in connection with theaccompanying drawings is intended as a description of the presentexamples and is not intended to represent the only forms in which thepresent examples may be constructed or utilized. The description setsforth at least some of the functions of the examples and/or the sequenceof steps for constructing and operating examples. However, the same orequivalent functions and sequences may be accomplished by differentexamples.

Although the present examples are described and illustrated herein asbeing implemented in a computing and networking environment, theenvironment(s) described is provided as an example and not a limitation.As those skilled in the art will appreciate, the present examples aresuitable for application in a variety of different types of computingand networking systems and environments.

Table 1 generally defines notation used herein to describe the presentinvention.

TABLE 1 Notation S A participating service provider. U A participatinguser who requests access to a service provided by S. A_(i) The i-thauthentication server which pro- vides SSO service. UID A unique ID foruser U. SID A unique ID for service provider S. AID_(i) A unique ID forthe i-th authentication server A_(i). K_(S) A secret key generated byand known only to S. K_(S) ^(i) The i-th partial share of K_(S)generated with a threshold scheme. K_(U) ^(i) A secret key for U toauthenticate to the i-th authentication server A_(i). p, q Two largeprime numbers with p = 2q + 1. G_(q) A subgroup with order q of themultiplicative group Z_(p) ^(*). x_(i) A unique public number inZ_(q)\{0} associated with the i-th authentication server. g A generatorin G_(q). SK_(U,A) _(i) A session key between a user U and the i-thauthentication server A_(i). (m)_(k) A message m encrypted with asymmetric cipher and a key k. n The number of shares a secret or profileis split into. t A valid token or profile can not been con- structedunless there are at least t arbitrary partial tokens or profilesavailable. N_(salt) A salt. n_(X) Nonce generated by entity X. r_(X) Arandom number generated by entity X, 1 < r_(X) < q − 1. [.] Optionalpart in describing a protocol. Hash(.) Cryptographic hash function.H₁(.), H₂(.) Two cryptographic hash functions mapping arbitrary binarystring into G_(q). R(.) Reconstruction function to combine independentpartial values. In this paper, the reconstruction function R is definedas${{\mathcal{R}\left( {\bullet_{d_{j}},{1 \leq j \leq t}} \right)} = {\prod_{i\; \in {\{{d_{1},\ldots,d_{t}}\}}}\left( \bullet_{d_{j}} \right)^{\lambda_{i}}}},{{{where}\mspace{14mu}\lambda_{i}} = {\Pi_{{1 \leq j \leq t},{d_{j} \neq i}}\frac{- x_{d_{j}}}{x_{i} - x_{d_{j}}}\mspace{14mu}{mod}\mspace{14mu}{q.}}}$

Note that number p is a conventional large prime number as those knownto those of ordinary skill in the art. In one example, q is chosen asthe Euler totient function of p, denoted as ϕ(p), which is the number ofintegers in the interval [1, p] which are relatively prime to p. Inanother example, p and q are chosen as large prime numbers such thatp=2q+1, as shown in Table 1. A more general selection is that q is alarge prime number that divides ϕ(p).

FIG. 1 is a block diagram showing an example distributed SSO (“DSSO”)service or system A 150 along with example user U 110 and exampleservice provider S 140. User 110, service provider 140, and DSSO system150 are typically coupled via network 130 and links such as link 120. Inone example, network 130 is the Internet. In other examples, network 130may be any network or combination of networks or the like. User 110typically represents a computing device or environment, such as thatdescribed in connection with FIG. 9, or any other type of computingdevice or system or the like. Such a device may be operated by a human,or operate standalone or as part of a larger system. Service provider140 typically represents any type of electronic service or the likeincluding network services, Internet or Web services, or any other suchservice or combination of services that is associated with DSSO system150. DSSO system 150 is also referred to herein as a set ofauthentication servers. Example set 150 is shown includingauthentication servers 150 a, 150 b, 150 c, and 150 d, but may inpractice include any number n of such servers where each authenticationserver is represented as an i-th authentication server {A_(i)|1≤i≤n}.Further, such servers may be physically located proximate to each otheror be distributed over a large geographic area. Such servers aretypically coupled via one or more networks or the like, not shown inFIG. 1.

FIG. 2 is a block diagram showing an example method 200 for setting up aDSSO system 150. Block 210 typically indicates setup of service providerS, such as service provider 140 of FIG. 1, for operation with a DSSOsystem, such as DSSO system 150 of FIG. 1. Such setup typically includesS generating a secret key, splitting it into n shares, and distributinga distinct one of the secret key shares to each of the n authenticationservers in set A. Thus each authentication server in set A receives aunique share of the split secret key. Such service provider setup isdescribed further in connection with FIG. 3.

Block 220 typically indicates setup of user U, such as user 110 of FIG.1, for operation with a DSSO system, such as DSSO system 150 of FIG. 1.Such setup typically includes splitting a user profile corresponding toU into n shares, and distributing a distinct one of the user profileshares to each of the n authentication servers in set A. Thus eachauthentication server in set A receives a unique share of the split userprofile. Such user setup is described further in connection with FIG. 4.

Block 230 typically indicates U, such as user 110 of FIG. 1, registeringauthentication credentials with A, such as DSSO system 150 of FIG. 1,and authenticating to A. In general, user U needs to authenticate toauthentication servers A before receiving DSSO services. Suchregistering and authenticating are described further in connection withFIG. 5.

Block 240 typically indicates U, such as user 110 of FIG. 1,authenticating to S, such as service provider 140 of FIG. 1, in order toaccess the services offered by S. When user U wants to access a serviceprovided by S, U typically receives partial tokens and profiles from tof the set of authentication servers A (where 1≤t≤n), and constructs atoken and a profile that only the designated service provider S canverify or view. The token is used to authenticate U to S, and theprofile is used to provide the U's information to S. Such authenticatingis described further in connection with FIG. 6 and FIG. 7.

Block 250 typically indicates periodically updating secret key sharesand/or user profile shares such as those described in connection withblocks 210 and 220. Such updating is further described in connectionwith FIG. 8.

FIG. 3 is a block diagram showing an example method 300 for setting up aservice provider S, such as service provider 140 of FIG. 1, foroperation with a DSSO system, such as DSSO system 150 of FIG. 1.

Block 310 typically indicates service provider S generating a secret keyK_(S). In this example, the secret key K_(S) is a number where1<K_(S)<q−1. Once the secret key is generated, then method 300 typicallycontinues at block 320.

Block 320 typically indicates service provider S selecting a randompolynomial f(x)=K_(S)+a₁x+a₂x²+ . . . +a_(t-1)x^(t-1) of order t−1 withrandom coefficients a_(i) in Z_(q): {a_(i)∈Z_(q)} except the constantwhich is set to K_(S), where Z_(q) is a set of integers from 0 to q−1,as shown in block 320, the random polynomial being used to split thesecret key K_(S) generated at block 310 into n distinct shares K_(S)^(i)=f(x_(i)), {x_(i)∈Z_(q)|{0}}, 1≤i≤n, each distinct share K_(S) ^(i)associated with the related authentication server A_(i) of set A. Inthis example, any t shares (where 1≤t≤n) of K_(S) can be used toreconstruct the value of K_(S). Once secret key K_(S) has been splitinto n shares, method 300 typically continues at block 330.

Block 330 typically indicates service provider S sending a distinctsecret key share K_(S) ^(i) to each authentication server A_(i) in setA. The sending to each authentication server A_(i) typically includes aunique identifier SID of service provider S as shown in block 330. Thesending to each authentication server A_(i) may also include valuesg^(α) ¹ , . . . , g^(α) ^(t-1) , g^(K) ^(S) as shown in block 330. Oncethe sending is completed, method 300 typically continues at block 340.

Block 340 typically indicates each authentication server A_(i) storingthe secret key share K_(S) ^(i), the SID value, and the optional values,and verifying the secret key share sent from service provider S andacknowledging the verification to service provider S. Eachauthentication server A_(i) may verify the sent secret key share K_(S)^(i) using the optional values g^(α) ¹ , . . . , g^(α) ^(t-1) , g^(K)^(S) by checking whether the following equation holds:g ^(K) ^(i) ^(S) =g ^(K) ^(S) (g ^(α) ¹ )^(x) ^(i) . . . (g ^(α) ^(t1))^(x) ^(t-1) ^(x) .

If, using the foregoing equation and the sent optional values, it isdetermined that the sent secret key share K_(S) ^(i) is valid, then theauthentication server A_(i) generally sends a “Success” indication backto service provider S. Otherwise a “Failure” indication may be sent backto service provider S. Once the sent values are stored, the secret keyshare is verified, and a verification indication is sent back to serviceprovider S, then method 300 is typically complete.

Overall, knowledge of any t shares (where 1≤t≤n) of secret key K_(S) canbe used to reconstruct the value of secret key K_(S). But knowledge ofany t−1 or fewer shares of secret key K_(S) and all the values g^(α) ¹ ,. . . , g^(α) ^(t-1) , g^(K) ^(S) are not sufficient to deduce secretkey K_(S).

FIG. 4 is a block diagram showing an example method 400 for setting up auser U, such as user 110 of FIG. 1, for operation with a DSSO system,such as DSSO system 150 of FIG. 1. In some examples, a service provider,such as service provider S or service provider 140 of FIG. 1, may needto know some information about a user to which it grants access. A usermay have several user profiles comprising personal information or thelike of different levels of sensitivity. For example, one such profilemay comprise only basic personal information such as a user identifier(“ID”) and email address or the like. Another user profile may comprisemore sensitive information such as a credit card number or the like.Different service providers may receive user profiles of differinglevels of sensitivity from an authentication server.

Like a secret key K_(S), user profiles may also benefit from beingprotected. In one example, protection may be provided by splitting auser profile into n shares that are then distributed to the nauthentication servers in set A. Each authentication server stores ashare of the user profile but cannot deduce the content of the userprofile unless there are t or more colluding authentication servers,each with a unique valid share of the user profile.

Block 410 typically indicates user U generating a secret number Γ_(U).In this example, the secret number Γ_(U) is a number where 1<Γ_(U)<q−1.Further, user U generally calculates Γ_(U) ⁻¹ mod q. Once the secretnumber is generated and the calculation is complete, then method 400typically continues at block 420.

Block 420 typically indicates user U selecting a random polynomialw(x)=Γ_(U)+b₁x+b₂x²+ . . . +b_(t-1)x^(t-1) of order t−1 with randomcoefficients b_(t) in Z_(q): {b_(i)∈Z_(q)}, and with a constant Γ_(U) asshown in block 420, the random polynomial being used to split the secretnumber Γ_(U) generated at block 410 into n shares P_(U) ^(i)=w(x_(i)),1≤i≤n and then calculates an encrypted user profile P_(f,Γ)=(P_(f))^(Γ)^(U) ⁻¹ , where P_(f) is a user profile mapping, i.e., a number inG_(q):P_(f)∈G_(q) that a user profile is one-to-one mapped to. Anexample of mapping for the case that q and p=2q+1 are two prime numberis as follows: if a user profile can be represented by a bit-string lessthan q, denoted as Profile, then a mapping from Profile to P_(f)∈G_(q)can be:P _(f)=2*Profile+1, if 2*Profile+1 is a quadratic residue mod q.P _(f) =q−2*Profile−1, if 2*Profile+1 is not a quadratic residue mod q.Recall that an integer X, 0≤X<q, is called a quadratic residue mod q ifand only if there is an integer Y such that Y²=X mod q. If a userprofile is too long such that it cannot be represented by a bit-stringless than q then, in one example, P_(f) is an encryption key belongingto G_(q) that is used to encrypt a user profile with a symmetricencryption primitive such as the Advanced Encryption Standard (“AES”).In this case, P_(f,Γ)=(P_(f))^(Γ) ^(U) ⁻¹ is an encrypted version of thesymmetric encryption key P_(f) instead of an encrypted version of theuser profile mapping. In addition, the encrypted user profile istypically sent along with P_(f,Γ), and a service provider S calculatesP_(f) and then uses it to decrypt the received encrypted user profilesent to it together with P_(f,Γ) to obtain the user profile. In thisexample, any t shares (where 1≤t≤n) of the split user profile can beused to reconstruct the use profile. Once secret number Γ_(U) has beensplit into n shares and the user profiles shares calculated, method 400typically continues at block 430.

Block 430 typically indicates user U sending a distinct secret shareP_(U) ^(i) together with the encrypted user profile P_(f,Γ) to eachauthentication server A_(i) in set A. The sending to each authenticationserver A_(i) typically includes a unique identifier UID of the user U asshown in block 430. The sending to each authentication server A_(i) mayalso include optional values g^(b) ¹ , . . . , g^(b) ^(t-1) , g^(Γ) ^(U)as shown in block 430. Once the sending is completed, method 400typically continues at block 440.

Block 440 typically indicates each authentication server A_(i)calculating a user profile share P_(f,Γ) ^(i)=P_(f,Γ) ^(P) ^(U) ^(i)from the received P_(U) ^(i) and P_(f,Γ), and storing P_(f,Γ) ^(i),P_(f,Γ), the UID value, and the optional values, and verifying the userprofile share sent from user U and acknowledging the reception back touser U. Each authentication server A_(i) may verify the sent user secretshare P_(U) ^(i) using the optional values g^(b) ¹ , . . . , g^(b)^(t-1) , g^(Γ) ^(U) by checking whether the following equation holds:g ^(P) ^(U) ^(i) =g ^(Γ) ^(U) (g ^(b) ¹ )^(x) ^(i) . . . (g ^(b) ^(t1))^(x) ^(i) ^(t-1) .

If, using the foregoing equation and the sent optional values, it isdetermined that the sent user secret share P_(U) ^(i) is valid, then theauthentication server A_(i) generally sends a “Success” indication backto service provider S. Otherwise a “Failure” indication may be sent backto service provider S. Once the sent values are stored, the secret keyshare is verified, and a verification indication is sent back to serviceprovider S, then method 400 is typically complete.

Overall, knowledge of any t shares (where 1≤t≤n) of the user profile canbe used to reconstruct the user profile. But knowledge of any t−1 orfewer shares of the user profile and all the values g^(b) ¹ , . . . ,g^(b) ^(t-1) , g^(Γ) ^(U) are not sufficient to deduce the user profile.

FIG. 5 is a block diagram showing an example method 500 for registeringand authenticating a user U, such as user 110 of FIG. 1, toauthentication servers in set A, such as set 150 of FIG. 1. In general,a user of a DSSO system, such as DSSO system 150 of FIG. 1, needs toauthenticate to authentication servers in set A before receivingservices of the system. Such authentication may typically be based onany authentication scheme, including a conventional scheme such aspassword-based authentication. In one example, each authenticationserver A_(i) in set A operates and authenticates users independently.Each authentication server A_(i) in set A uses the same user ID for aparticular user, but uses a different password in authenticating theuser. To the user, authentication appears to be conventional: that is, auser only needs to provide a single user ID and password. A portion(typically a client-side portion or a web browser plug-in or the like)of DSSO system 150, responsive to the user-provided password, managesthe complexity of generating a unique password registered with eachauthentication server A_(i) in set A.

Block 510 typically indicates a user U, such as user 110 of FIG. 1,generating a unique user ID and a user password. Further, a randomnumber N_(salt) of high entropy is generated. In this example, user Umay refer to a human or system user, and/or to a portion of a DSSOsystem with which a user interacts, such as a client portion or a webbrowser plug-in or the like. Once the user ID and such are generated,method 500 typically continues at block 520.

Block 520 typically indicates user U computing an authenticationpassword K_(U) ^(i) for each authentication server A_(i) in set A where1≤i≤n and where n is the number of authentication servers in set A. Inthis example, each of the n authentication passwords is computed asK_(U) ^(i)=Hash(UID, Password, AID_(i), N_(salt)), 1≤i≤n where Hash( )is a hash function usable for generating a high entropy password, andwhere UID is the user ID of block 510, and where Password is the userpassword of block 510, and where AID_(i) is a unique identifier for thei-th authentication server A_(i) in set A, and where N_(salt) is thehigh-entropy random number of block 510. In this example, the salt valueN_(salt) is not a secret, but is generally kept from the authenticationservers. Once the authentication passwords have been computed, method500 typically continues at block 530.

Block 530 typically indicates user U sending each authenticationpassword K_(U) ^(i) and the user ID to the corresponding authenticationserver A_(i) in set A. Once the authentication passwords are sent totheir corresponding authentication servers, method 500 typicallycontinues at block 540.

Block 540 typically indicates each authentication server A_(i) in set Areturning a “Success” indication upon successfully receiving anauthentication password from user U. Otherwise a “Failure” indicationmay be sent back to user U. Further, each authentication servertypically stores the authentication password and corresponding user IDfor later use, such as for user authentication. At this point user U isregistered with each authentication server A_(i) in set A and method 500is typically complete.

Once registered, in order to receive DSSO system services, a usergenerally needs to authenticate to the system. Any suitableauthentication protocol may be used. In one example, a simplechallenge/response protocol that makes use of the user ID, userpassword, and authentication passwords generated by method 500 or thelike is suitable. The authentication protocol is typically used toauthenticate the user to each authentication server A_(d) _(j) where1≤j≤t and where j is the number of secret key shares and/or user profileshares. Once authenticated to the DSSO system a session key SK_(U,A)_(dj) is typically returned to user U for each authentication serverA_(d) _(j) . The session keys are typically used to establish a securecommunications channel between user U and each authentication serverA_(d) _(j) , the secure communication channels usable to provide DSSOsystem single sign-on services to user U.

In one example, a single sign-on protocol of a DSSO system, such as DSSOsystem 150 of FIG. 1, makes use of two non-interactive zero-knowledgeproofs, denoted as DLEQ and DLEQ2:

-   -   DLEQ(q₁, h₁, g₂, h₂) is a pair (c, s) used to prove that log_(g)        ₁ h₁=log_(g) ₂ h₂ for g₁, h₁, g₂, h₂ ∈G_(q), where c=Hash(g₁,        h₁, g₂, h₂, g₁ ^(s)h₁ ^(c), g₂ ^(s)h₂ ^(c)).    -   Suppose Alice knows x=log_(g) ₁ h₁=log_(g) ₂ , h₂, then she can        choose a random value r and computes c=Hash(g₁, h₁, g₂, h₂, g₁        ^(r), g₂ ^(r)) and s=r−cx mod q. Therefore c=Hash(g₁, h₁, g₂,        g^(s) ₁h^(c) ₁, g^(s) ₂h^(c) ₂).    -   DLEQ2(g₁, h₁, g₂, h₂, u, v, w) is a triple (c, s₁, s₂) used to        prove that u^(log) ^(g1) ^(h) ¹ v^(log) ^(g2) ^(h2)=w for g₁,        h₁, g₂, h₂, u, v, w∈G_(q), where c=Hash(g₁, h₁, g₂, h₂, u, v, w,        g₁ ^(s) ¹ h₁ ^(c), g₂ ^(s) ² h₂ ^(c), u^(s) ¹ v^(s) ² w^(c)).    -   Suppose Alice knows x=log_(g) ₁ h₁ and y=log_(g) ₂ h₂, she can        choose random values r₁ and r₂, and then computes c=Hash(g₁, h₁,        g₂, h₂, u, v, w, g₁ ^(r) ¹ , g₂ ^(r) ² ,u^(r) ¹ v^(r) ² ),        s₁=r₁−cx mod q, and s₂=r₂−cy mod q. Therefore c=Hash(g₁, h₁, g₂,        h₂, u, v, w, g₁ ^(s) ¹ ₁h^(c), g₂ ^(s) ² ₂h^(c), u^(s) ¹ v^(s) ²        w^(c)).

FIG. 6 is an example method 600 showing the operation of an exampledistributed single sign-on protocol in which no user profile informationis sent to a service provider. Block 610 typically indicates a user U,such as user 110 of FIG. 1, sending to a service provider S, such asservice provider 140 of FIG. 1, a request to access a service. Once therequest is received, method 600 typically continues at block 620.

Block 620 typically indicates the service provider S, responsive to therequest, returning a set of values to the user U. In this example, theset of values includes the unique identifier SID of the service providerS, a nonce n_(S) generated by the service provider S, the value g^(r)^(S) calculated by the service provider S based on a random numberr_(S), 1<r_(S)<q−1, selected by the service provider, and a list of atleast t authentication servers {A_(d) _(j) , 1≤j≤t}. The jauthentication servers used in the protocol are any of the t operationalauthentication servers in set A. and are typically selected based onworkload, bandwidth, processing power, reliability, and/or the like.Further, it is possible to send requests to more than j authenticationservers. In this case, the first j partial tokens received from theauthentication servers are typically used to compute an authenticationtoken as described in connection with block 660. Once the set of valuesis returned to the user U, then method 600 typically continues at block630.

Block 630 typically indicates the user U selecting a random numberr_(U), 1<r_(U)<q−1 and calculating g^(r) ^(U) . This term may be used ingenerating a session key for use between the user U and the serviceprovider S after successful completion of the distributed single sign-onprotocol. Further, block 630 typically indicates performing the actionsindicated by blocks 640 and 650 for each j where 1≤j≤t and where j isthe minimum number of secret key shares and/or user profile sharesneeded to reconstruct the secret key or user profile.

Block 640 typically indicates the user U sending a set of values to eachauthentication server A_(d) _(j) . In this example, the set of valuesincludes the unique identifier UID of the user U, the unique identifierSID of the service provider S, the nonce n_(S) generated by the serviceprovider S, and the a pair of values including the value g^(r) ^(S)calculated by the service provider S and the value g^(r) ^(U) calculatedby the user U. Once the set of values has been sent, method 600typically continues at block 650.

Block 650 typically indicates each authentication server A_(d) _(j) ,responsive to the sending of block 640, sending the indicated set ofvalues to the user U. In this example, DLEQ is generally used to verifyif authentication server A_(d) _(j) sent a correct partialauthentication token T_(d) _(j) . Once the set of values sent by eachauthentication server A_(d) _(j) have been received by the user U,method 600 typically continues at block 660.

Block 660 typically indicates the user U computing an authenticationtoken h^(K) ^(S) =R(T_(d) _(j) , 1≤j≤t) from the j received partialauthentication tokens T_(d) _(j) . Once the authentication token hasbeen computed, the user U typically sends the user ID, UID, thecalculated h^(K) ^(S) , and optionally g^(r) ^(U) to the server S. Thenmethod 600 typically continues at block 670.

Block 670 typically indicates the service provider S verifying theauthentication token h^(K) ^(S) by calculating h_(S)=H₁(UID, SID, n_(S),[g^(r) ^(S) , g^(r) ^(U) ]) and then using the secret key K_(S) knownonly to itself to check if h^(K) ^(S) _(S)=h^(K) ^(S) holds, where h^(K)^(S) is received from the user U. If the equation holds, then user U isgranted access to the requested service. Otherwise access is denied.Once access is granted, if a secure communication channel between theuser U and the service provider S is desired then, in this example, thevalue g^(r) ^(U) ^(,r) ^(S) is used as a session key for the securecommunication channel. Such a session key may be generated based onDiffie-Hellman key agreement. At this point, method 600 is typicallycomplete.

FIG. 7 is an example method 700 showing the operation of an exampledistributed single sign-on protocol in which user profile information issent to a service provider. Method 700 is essentially the same as method600 but further includes securely providing a user profile to theservice provider S. Block 710 typically indicates a user U, such as user110 of FIG. 1, sending to a service provider 5, such as service provider140 of FIG. 1, a request to access a service. Once the request isreceived, method 700 typically continues at block 720.

Block 720 typically indicates the service provider S, responsive to therequest, returning a set of values to the user U. In this example, theset of values includes the unique identifier SID of the service providerS, a nonce n_(S) generated by the service provider S, the value g^(r)^(S) calculated by the service provider S based on a random numberr_(S), 1<r_(S)<q−1, selected by the service provider, and a list of tauthentication servers {A_(d) _(j) , 1≤j≤t}. Once the set of values isreturned to the user U, then method 700 typically continues at block730.

Block 730 typically indicates the user U selecting a random numberr_(U), 1<r_(U)<q−1 and calculating g^(r) ^(U) . This term may be used ingenerating a session key for use between the user U and the serviceprovider S after successful completion of the distributed single sign-onprotocol. Further, block 730 typically indicates performing the actionsindicated by blocks 740 and 750 for each j where 1≤j≤t and where j isthe minimum number of secret key shares and/or user profile sharesneeded to reconstruct the secret key or user profile.

Block 740 typically indicates the user U sending a set of values to eachauthentication server A_(d) _(j) . In this example, the set of valuesincludes the unique identifier UID of the user U, the unique identifierSID of the service provider S, the nonce n_(S) generated by the serviceprovider S, and the a pair of values including the value g^(r) ^(S)calculated by the service provider S and the value g^(r) ^(U) calculatedby the user U. Once the set of values has been sent, method 700typically continues at block 750.

Block 750 typically indicates each authentication server A_(d) _(j) ,responsive to the sending of block 740, sending the indicated set ofvalues to the user U. In this example, DLEQ and DLEQ2 are generally usedto prevent active attacks launched by compromised authenticationservers. DLEQ is generally used to verify if authentication server A_(d)_(j) sent a correct partial authentication token T_(d) _(j) . DLEQ2 isgenerally used to verify if authentication server A_(d) _(j) sent acorrect partial profile token T′_(d) _(j) . Once the set of values sentby each authentication server A_(d) _(j) have been received by the userU, method 700 typically continues at block 760.

Block 760 typically indicates the user U computing an authenticationtoken h^(K) ^(S) =R(T_(d) _(j) , 1≤j≤t) from the j received partialauthentication tokens T_(d) _(j) . Further, block 760 typicallyindicates the user U computing a user profile mapping P_(f) encryptedwith the service provider S secret key K_(S), h′^(K) ^(S) P_(f)=R(T′_(d)_(j) , 1≤j≤t). Once the authentication token h^(K) ^(S) and encrypteduser profile mapping h′^(K) ^(S) P_(f) have been computed, the usersends them as well as UID and optionally g^(r) ^(U) to the serviceprovider S. Method 700 then typically continues at block 770.

Block 770 typically indicates the service provider S calculatingh_(S)=H₁(UID, SID, n_(S), [g^(r) ^(S) , g^(r) ^(U) ]) and h′_(S)=H₂(UID,SID, n_(S), [g^(r) ^(S) , g^(r) ^(U) ]) and then uses the secret keyK_(S) known only to itself to check if h^(K) ^(S) _(S)=h^(K) ^(S) holdsand extracts the user profile mapping P_(f)=h′^(K) ^(S) P_(f)/h′^(K)^(S) _(S), where h^(K) ^(S) and h′^(K) ^(S) P_(f) are received from theuser U. If the equation holds, then user U access to the requestedservice is granted. Otherwise access is denied. At this point, method700 is typically complete.

FIG. 8 is a block diagram showing an example method 800 for updatingshares of secrets, such as secret key shares and user profile shares,without affecting the underlying secrets. In general, DSSO systemsecrets such as secret keys and user profiles are protected by splittingthem into shares that are distributed among a set of authenticationservers. But given a sufficient amount of time, attackers may eventuallycompromise a large enough number of the shares to deduce a secret. Tothwart such an attack, secret share in a DSSO system may be updatedperiodically using a proactive share updating method, such as method800. In this example, in order for an attacker to compromise the DSSOsystem, the attacker would have to compromise a sufficient number ofsecret shares in order to deduce a secret before such shares areupdated. Implementing proactive share updating can make suchcompromising very difficult.

With respect to updating secret key shares K_(S) ^(i), block 810typically indicates each authentication server A_(i) generating a randompolynomial f_(i,update)(x) of order t−1 with random coefficients andwith a constant of 0:f _(i,update)(x)=α_(i,1) x+ . . . +α _(i,t-1) x ^(t-1).

Once the random polynomial is generated, method 800 typically continuesat block 820.

With respect to updating secret key shares K_(S) ^(i), block 820typically indicates authentication server A_(i) calculating updatingvalues K_(i,j)=f_(i,update)(x_(j)), 1≤j≤n. Once the updating values havebeen calculated, method 800 typically continues at block 830.

With respect to updating secret key shares K_(S) ^(i), block 830typically indicates authentication server A_(i) distributing theupdating values K_(i,j) to all other authentication servers in set A.Further, the authentication server A_(i) typically broadcasts the valuesg^(α) ^(i,1) , . . . , g^(α) ^(i,t-1) to all the other authenticationservers in set A. Once the distributing and broadcasting are complete,method 800 typically continues at block 840.

With respect to updating secret key shares K_(S) ^(i), block 840typically indicates authentication server A_(i) receiving updatingvalues K_(j,i) from each of the other authentication servers in set A.and verifying whether g^(K) ^(j,1) =(g^(α) ^(j,i) )^(x) ^(j) . . .(g^(α) ^(j,t-1) )^(x) ^(t-1) ^(j) or not, where 1≤j≤n. If the equationholds, the new shares are added to the original share K_(S) ^(i),resulting in the new updated share:

$K_{S}^{\prime\; i} = {K_{S}^{i} + {\sum\limits_{j = 1}^{n}K_{j,i}}}$

Accordingly, the corresponding new secret key share polynomialf_(new)(x) is the summation of the original polynomial f(x) and all therandomly generated polynomials f_(i,update)(x), such that K_(S) ^(i) isthe secret key share generated from f_(new)(x). Thus the secret keyshare K_(S) ^(i) at each authentication server A_(i) in set A is updatedwithout changing the secret key K_(S).

With respect to updating user profile shares P_(U) ^(i), block 810typically indicates each authentication server A_(i) generating a randompolynomial w_(i,update)(x) of order t−1 with random coefficients andwith a constant of 0:w _(i,update)(x)=β_(i,1) x+ . . . +β _(i,t-1) x ^(t-1).

Once the random polynomial is generated, method 800 typically continuesat block 820.

With respect to updating user profile shares P_(U) ^(i), block 820typically indicates authentication server A_(i) calculating updatingvalues W_(i,j)=w_(i,update)(x), 1≤j≤n. Once the updating values havebeen calculated, method 800 typically continues at block 830.

With respect to updating user profile shares P_(U) ^(i), block 830typically indicates authentication server A_(i) distributing theupdating values W_(i,j) to all other authentication servers in set A.Further, the authentication server A_(i) typically broadcasts the valuesg^(β) ^(i,1) , . . . , g^(β) ^(i,t-1) to all the other authenticationservers in set A. Once the distributing and broadcasting are complete,method 800 typically continues at block 840.

With respect to updating user profile shares P_(U) ^(i), block 840typically indicates authentication server A_(i) receiving updatingvalues W_(j,i) from each of the other authentication servers in set A.and verifying whether g^(W) ^(i,j) =(g^(βj,1))^(x) ^(j) . . . (g^(β)^(j,t-1) )^(x) ^(j) ^(i-1) or not, where 1≤j≤n. If the equation holds,the new shares are added to the original share P_(U) ^(i), resulting inthe new updated share:

$P_{U}^{\prime\; i} = {P_{U}^{i} + {\sum\limits_{j = 1}^{n}W_{j,i}}}$

Accordingly, the corresponding new user profile share polynomialw_(new)(x) is equal to original polynomial w(x)+Σ_(j=1)^(n)w_(i,update)(x). Each authentication server A_(i) then uses the newshare P_(U) ^(n) and the stored P_(f,Γ) to update its user profile shareP′_(f,Γ) ^(i)=P_(f,Γ) ^(P) ^(i) ^(U) . Thus the user profile share P_(U)^(i) at each authentication server A_(i) in set A is updated withoutchanging the user profile P_(f).

FIG. 9 is a block diagram showing an example computing environment 900in which the technologies described herein may be implemented. Asuitable computing environment may be implemented with numerous generalpurpose or special purpose systems. Examples of well known systems mayinclude, but are not limited to, cell phones, personal digitalassistants (“PDA”), personal computers (“PC”), hand-held or laptopdevices, microprocessor-based systems, multiprocessor systems, servers,workstations, consumer electronic devices, set-top boxes, and the like.

Computing environment 900 typically includes a general-purpose computingsystem in the form of a computing device 901 coupled to variouscomponents, such as peripheral devices 902, 903, 904 and the like.System 900 may couple to various other components, such as input devices903, including voice recognition, touch pads, buttons, keyboards and/orpointing devices, such as a mouse or trackball, via one or moreinput/output (“I/O”) interfaces 912. The components of computing device901 may include one or more processors (including central processingunits (“CPU”), graphics processing units (“GPU”), microprocessors(“μP”), and the like) 907, system memory 909, and a system bus 908 thattypically couples the various components. Processor 907 typicallyprocesses or executes various computer-executable instructions tocontrol the operation of computing device 901 and to communicate withother electronic and/or computing devices, systems or environment (notshown) via various communications connections such as a networkconnection 914 or the like. System bus 908 represents any number ofseveral types of bus structures, including a memory bus or memorycontroller, a peripheral bus, a serial bus, an accelerated graphicsport, a processor or local bus using any of a variety of busarchitectures, and the like.

System memory 909 may include computer readable media in the form ofvolatile memory, such as random access memory (“RAM”), and/ornon-volatile memory, such as read only memory (“ROM”) or flash memory(“FLASH”). A basic input/output system (“BIOS”) may be stored innon-volatile or the like. System memory 909 typically stores data,computer-executable instructions and/or program modules comprisingcomputer-executable instructions that are immediately accessible toand/or presently operated on by one or more of the processors 907.

Mass storage devices 904 and 910 may be coupled to computing device 901or incorporated into computing device 901 via coupling to the systembus. Such mass storage devices 904 and 910 may include non-volatile RAM,a magnetic disk drive which reads from and/or writes to a removable,non-volatile magnetic disk (e.g., a “floppy disk”) 905, and/or anoptical disk drive that reads from and/or writes to a non-volatileoptical disk such as a CD ROM, DVD ROM 906. Alternatively, a massstorage device, such as hard disk 910, may include non-removable storagemedium. Other mass storage devices may include memory cards, memorysticks, tape storage devices, and the like.

Any number of computer programs, files, data structures, and the likemay be stored in mass storage 910, other storage devices 904, 905, 906and system memory 909 (typically limited by available space) including,by way of example and not limitation, operating systems, applicationprograms, data files, directory structures, computer-executableinstructions, and the like. The term “computer-readable media” (asopposed to the term “communications media”) as used herein refersstrictly to a statutory article of manufacture that is not a signal orcarrier wave per se.

Output components or devices, such as display device 902, may be coupledto computing device 901, typically via an interface such as a displayadapter 911. Output device 902 may be a liquid crystal display (“LCD”).Other example output devices may include printers, audio outputs, voiceoutputs, cathode ray tube (“CRT”) displays, tactile devices or othersensory output mechanisms, or the like. Output devices may enablecomputing device 901 to interact with human operators or other machines,systems, computing environments, or the like. A user may interface withcomputing environment 900 via any number of different I/O devices 903such as a touch pad, buttons, keyboard, mouse, joystick, game pad, dataport, and the like. These and other I/O devices may be coupled toprocessor 907 via I/O interfaces 912 which may be coupled to system bus908, and/or may be coupled by other interfaces and bus structures, suchas a parallel port, game port, universal serial bus (“USB”), fire wire,infrared (“IR”) port, and the like.

Computing device 901 may operate in a networked environment viacommunications connections to one or more remote computing devicesthrough one or more cellular networks, wireless networks, local areanetworks (“LAN”), wide area networks (“WAN”), storage area networks(“SAN”), the Internet, radio links, optical links and the like.Computing device 901 may be coupled to a network via network adapter 913or the like, or, alternatively, via a modem, digital subscriber line(“DSL”) link, integrated services digital network (“ISDN”) link,Internet link, wireless link, or the like.

Communications connection 914, such as a network connection, typicallyprovides a coupling to communications media, such as a network.Communications media typically provide computer-readable andcomputer-executable instructions, data structures, files, programmodules and other data using a modulated data signal, such as a carrierwave or other transport mechanism. The term “modulated data signal”typically means a signal that has one or more of its characteristics setor changed in such a manner as to encode information in the signal. Byway of example, and not limitation, communications media may includewired media, such as a wired network or direct-wired connection or thelike, and wireless media, such as acoustic, radio frequency, infrared,or other wireless communications mechanisms.

Power source 990, such as a battery or a power supply, typicallyprovides power for portions or all of computing environment 900. In thecase of the computing environment 900 being a mobile device or portabledevice or the like, power source 990 may be a battery. Alternatively, inthe case computing environment 900 is a desktop computer or server orthe like, power source 990 may be a power supply designed to connect toan alternating current (“AC”) source, such as via a wall outlet.

Some mobile devices may not include many of the components described inconnection with FIG. 9. For example, an electronic badge may becomprised of a coil of wire along with a simple processing unit 907 orthe like, the coil configured to act as power source 990 when inproximity to a card reader device or the like. Such a coil may also beconfigure to act as an antenna coupled to the processing unit 907 or thelike, the coil antenna capable of providing a form of communicationbetween the electronic badge and the card reader device. Suchcommunication may not involve networking, but may alternatively begeneral or special purpose communications via telemetry, point-to-point,RF, IR, audio, or other means. An electronic card may not includedisplay 902, I/O device 903, or many of the other components describedin connection with FIG. 9. Other mobile devices that may not includemany of the components described in connection with FIG. 9, by way ofexample and not limitation, include electronic bracelets, electronictags, implantable devices, and the like.

Those skilled in the art will realize that storage devices utilized toprovide computer-readable and computer-executable instructions and datacan be distributed over a network. For example, a remote computer orstorage device may store computer-readable and computer-executableinstructions in the form of software applications and data. A localcomputer may access the remote computer or storage device via thenetwork and download part or all of a software application or data andmay execute any computer-executable instructions. Alternatively, thelocal computer may download pieces of the software or data as needed, ordistributively process the software by executing some of theinstructions at the local computer and some at remote computers and/ordevices.

Those skilled in the art will also realize that, by utilizingconventional techniques, all or portions of the software'scomputer-executable instructions may be carried out by a dedicatedelectronic circuit such as a digital signal processor (“DSP”),programmable logic array (“PLA”), discrete circuits, and the like. Theterm “electronic apparatus” may include computing devices or consumerelectronic devices comprising any software, firmware or the like, orelectronic devices or circuits comprising no software, firmware or thelike.

The term “firmware” typically refers to executable instructions, code,data, applications, programs, or the like maintained in an electronicdevice such as a ROM. The term “software” generally refers to executableinstructions, code, data, applications, programs, or the like maintainedin or on any form of computer-readable media. The term“computer-readable media” typically refers to system memory, storagedevices and their associated media, and the like.

In view of the many possible embodiments to which the principles of thepresent invention and the forgoing examples may be applied, it should berecognized that the examples described herein are meant to beillustrative only and should not be taken as limiting the scope of thepresent invention. Therefore, the invention as described hereincontemplates all such embodiments as may come within the scope of thefollowing claims and any equivalents thereto.

The invention claimed is:
 1. A method performed on a computing device,the method comprising: sending, by the computing device to a provider, arequest to access a service; receiving, by the computing device from theservice in response to sending the request, a first set of values and alist of the plurality of authentication servers associated with theservice; sending, by the computing device to each of a plurality ofauthentication servers associated with the service and that are eachseparate and distinct from the other and from the service, a second setof values that comprises an identifier of a user and the received firstset of values; receiving, by the computing device from each of flail theplurality of authentication servers, a partial authentication token thatcorresponds to the service and to flail the user; where each receivedpartial authentication token is based on a value pair that includes arandom value computed by the service and a random value computed by thecomputing device; generating, by the computing device from the receivedpartial authentication tokens, an authentication token that isconfigured to authenticate the user to the service and to allow the useraccess to the service; and accessing the service via the computingdevice based on the generated authentication token.
 2. The method ofclaim 1 where the received first set of values comprises a uniqueidentifier of the service.
 3. The method of claim 1 further comprisingsending, by the computing device to the service prior to accessing theservice via the computing device, the generated authentication token andthe identifier of the user.
 4. The method of claim 1 where the first setof values comprises the random value computed by the service, and wherethe second set of values sent to each of the plurality of authenticationservers comprises the value pair.
 5. A computing device comprising: atleast one processor; memory that is coupled to the at least oneprocessor and that comprises computer-executable instructions that,based on execution by the at least one processor, configure thecomputing device to perform actions comprising: sending, by thecomputing device to a service, a request to access the service;receiving, by the computing device from the service in response tosending the request, a first set of values and a list of the pluralityof authentication servers associated with the service; sending, by thecomputing device to each of the plurality of authentication servers, asecond set of values that comprises an identifier of a user and thereceived first set of values; receiving, by the computing device fromeach of flail the plurality of authentication servers associated with aservice and that are each separate and distinct from the other and fromthe service, a partial authentication token that corresponds to theservice and to the user; where each received partial authenticationtoken is based on a value pair that includes a random value computed bythe service and a random value computed by the computing device;generating, by the computing device from the received partialauthentication tokens, an authentication token that is configured toauthenticate the user to the service and to allow the user access to theservice; and accessing the service via the computing device based on thegenerated authentication token.
 6. The computing device of claim 5 wherethe received first set of values comprises a unique identifier of theservice.
 7. The computing device of claim 5, the actions furthercomprising sending, by the computing device to the service prior toaccessing the service via the computing device, the generatedauthentication token and the identifier of the user.
 8. The computingdevice of claim 5 where the first set of values comprises the randomvalue computed by the service, and where the second set of values sentto each of the plurality of authentication servers comprises the valuepair.
 9. At least one computer-readable media that comprisescomputer-readable instructions that, based on execution by a computingdevice, configure the computing device to perform actions comprising:sending, by the computing device to a service, a request to access theservice; receiving, by the computing device from the service in responseto sending the request, a first set of values and a list of theplurality of authentication servers associated with the service;sending, by the computing device to each of the plurality ofauthentication servers, a second set of values that comprises anidentifier of a user and the received first set of values; receiving, bythe computing device from each of a plurality of authentication serversassociated with a service and that are each separate and distinct fromthe other and from the service, a partial authentication token thatcorresponds to the service and to a user; where each received partialauthentication token is based on a value pair that includes a randomvalue computed by the service and a random value computed by thecomputing device; generating, by the computing device from the receivedpartial authentication tokens, an authentication token that isconfigured to authenticate the user to the service and to allow the useraccess to the service; and accessing the service via the computingdevice based on the generated authentication token.
 10. The at least onecomputer-readable media of claim 9 where the received first set ofvalues comprises a unique identifier of the service.
 11. The at leastone computer-readable media of claim 9, the actions further comprisingsending, by the computing device to the service prior to accessing theservice via the computing device, the generated authentication token andthe identifier of the user.
 12. The at least one computer-readable mediaof claim 9 where the first set of values comprises the random valuecomputed by the service, and where the second set of values sent to eachof the plurality of authentication servers comprises the value pair.